package com.pojo;

import java.util.Date;

/**
 * SysPrivAlloc entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class SysPrivAlloc implements java.io.Serializable {

	// Fields

	private Long authId;
	private Long userId;
	private String effAll;
	private Long effUgId;
	private Long effUnitId;
	private String roleId;
	private String privId;
	private Long gntrId;
	private Date gntTime;

	// Constructors

	/** default constructor */
	public SysPrivAlloc() {
	}

	/** minimal constructor */
	public SysPrivAlloc(Long userId, String effAll, Long gntrId, Date gntTime) {
		this.userId = userId;
		this.effAll = effAll;
		this.gntrId = gntrId;
		this.gntTime = gntTime;
	}

	/** full constructor */
	public SysPrivAlloc(Long userId, String effAll, Long effUgId,
			Long effUnitId, String roleId, String privId, Long gntrId,
			Date gntTime) {
		this.userId = userId;
		this.effAll = effAll;
		this.effUgId = effUgId;
		this.effUnitId = effUnitId;
		this.roleId = roleId;
		this.privId = privId;
		this.gntrId = gntrId;
		this.gntTime = gntTime;
	}

	// Property accessors

	public Long getAuthId() {
		return this.authId;
	}

	public void setAuthId(Long authId) {
		this.authId = authId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getEffAll() {
		return this.effAll;
	}

	public void setEffAll(String effAll) {
		this.effAll = effAll;
	}

	public Long getEffUgId() {
		return this.effUgId;
	}

	public void setEffUgId(Long effUgId) {
		this.effUgId = effUgId;
	}

	public Long getEffUnitId() {
		return this.effUnitId;
	}

	public void setEffUnitId(Long effUnitId) {
		this.effUnitId = effUnitId;
	}

	public String getRoleId() {
		return this.roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getPrivId() {
		return this.privId;
	}

	public void setPrivId(String privId) {
		this.privId = privId;
	}

	public Long getGntrId() {
		return this.gntrId;
	}

	public void setGntrId(Long gntrId) {
		this.gntrId = gntrId;
	}

	public Date getGntTime() {
		return this.gntTime;
	}

	public void setGntTime(Date gntTime) {
		this.gntTime = gntTime;
	}

}